<!DOCTYPE html >
<html xmlns:th="http://www.thymeleaf.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.thymeleaf.org ">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>云研发平台 - 注册</title>
    <link rel="shortcut icon" href="favicon.ico" />
    <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet" />
    <link href="css/font-awesome.css?v=4.4.0" rel="stylesheet" />
    <link href="css/plugins/iCheck/custom.css" rel="stylesheet" />
    <link href="css/animate.css" rel="stylesheet" />
    <link href="css/style.css?v=4.1.0" rel="stylesheet" />
    <script>if(window.top !== window.self){ window.top.location = window.location;}</script>
</head>
<body class="gray-bg">
    <div class="middle-box text-center loginscreen   animated fadeInDown">
        <div>
            <h3>欢迎注册 云研发平台</h3>
            <p>创建一个云研发平台新账户</p>
            <form class="m-t" role="form" th:action="@{/register}" method="post">
                <div class="form-group">
                    <input type="text" class="form-control" placeholder="请输入用户名" required="" name="userName"/>
                </div>
                <div class="form-group">
                    <input type="password" class="form-control" placeholder="请输入密码" required="" name="userPassword"/>
                </div>
                <div class="form-group">
                    <input type="password" class="form-control" placeholder="请再次输入密码" required="" name="userRePassword"/>
                </div>
                <div class="form-group">
                    <input type="text" class="form-control" placeholder="请输入邮箱" required="" name="userMail"/>
                </div>
                <div class="form-group">
                    <input type="text" class="form-control" placeholder="请输入手机" required="" name="userPhone"/>
                </div>
                <div class="form-group">
                    <div class="form-group">
                        <select class="form-control m-b" name="userPassProblem">
                            <option value="0">--请选择用户密保问题--</option>
                            <option value="1">您母亲的姓名是？</option>
                            <option value="2">您父亲的姓名是？</option>
                            <option value="3">您配偶的姓名是？</option>
                            <option value="4">您的出生地是？</option>
                        </select>
                    </div>
                </div>
                <div class="form-group">
                    <input type="text" class="form-control" placeholder="请输入密保答案" required="" name="userPassAnswer"/>
                </div>
                <div class="form-group text-left">
                    <div class="checkbox i-checks">
                        <label class="no-padding">
                            <input type="checkbox" name="agree" required=""/><i></i> 我同意注册协议</label>
                    </div>
                </div>
                <button type="submit" class="btn btn-primary block full-width m-b">注 册</button>

                <p class="text-muted text-center"><small>已经有账户了？</small><a href="/index">点此登录</a>
                </p>
            </form>
        </div>
    </div>
    <!-- 全局js -->
    <script src="js/jquery.min.js?v=2.1.4"></script>
    <script src="js/bootstrap.min.js?v=3.3.6"></script>
    <!-- iCheck -->
    <script src="js/plugins/iCheck/icheck.min.js"></script>
    <script>
        $(document).ready(function () {
            $('.i-checks').iCheck({
                checkboxClass: 'icheckbox_square-green',
                radioClass: 'iradio_square-green',
            });
        });
    </script>
</body>
</html>
